﻿using System.ComponentModel.DataAnnotations;

namespace QRCodePass.Core.Models
{
    /// <summary>
    /// 流程设置分配
    /// </summary>
    public class Build
    {
        [Key]
        public int Id { get; set; }
        [StringLength(50)]
        public string Name { get; set; }
        /// <summary>
        /// 楼栋地址
        /// </summary>
        [StringLength(50, MinimumLength = 3)]
        [Display(Name = "楼栋地址")]
        public string BuildAddress { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [StringLength(50)]
        [Display(Name = "描述")]
        public string Description { get; set; }
        
    }
}